package com.pattern.strategy_pattern;

/**
 * @author chen
 * @date 2018/3/29
 * <p>
 * Email 122741482@qq.com
 * <p>
 * Describe: 减法运算
 */
public class SubstractStrategy implements Strategy {
    @Override
    public void algorithm(int a, int b) {
        System.out.println("减法运行 a-b=" + (a - b));
    }
}
